import { createApp } from 'vue'
import { setupStore } from '@/stores/index'

import App from './App.vue'
import router from './router'
import { init } from '@/stores/index'
import './style/index.css'

const app = createApp(App)
setupStore(app)

init().then(() => {
  app.use(router)

  app.mount('#app')
})
